Pagini recente » Borderou de evaluare (job #311893) | Borderou de evaluare (job #1910905) | Borderou de evaluare (job #754885) | Borderou de evaluare (job #1957897) | Borderou de evaluare (job #1213700)
Borderou de evaluare (job #1213700)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:15: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&t);
^
user.cpp:19:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:23:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&aux);
^
user.cpp:26:60: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n",aux);
^
user.cpp: In function ‘void openIOFiles()’:
user.cpp:8:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("avarcolaci.in","r",stdin);
^
user.cpp:9:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("avarcolaci.out","w",stdout);
^
user.cpp: In function ‘int main()’:
user.cpp:16:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:19:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:23:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&aux);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 52ms | Depăşit | Memory limit exceeded. | 0 |
2 | 52ms | Depăşit | Memory limit exceeded. | 0 |
3 | 52ms | Depăşit | Memory limit exceeded. | 0 |
4 | 52ms | Depăşit | Memory limit exceeded. | 0 |
5 | 52ms | Depăşit | Memory limit exceeded. | 0 |
6 | 52ms | Depăşit | Memory limit exceeded. | 0 |
7 | 52ms | Depăşit | Memory limit exceeded. | 0 |
8 | 52ms | Depăşit | Memory limit exceeded. | 0 |
9 | 52ms | Depăşit | Memory limit exceeded. | 0 |
10 | 52ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |