Pagini recente » Borderou de evaluare (job #1645344) | Borderou de evaluare (job #1640068) | Borderou de evaluare (job #1743818) | Borderou de evaluare (job #1870051) | Borderou de evaluare (job #1630629)
Borderou de evaluare (job #1630629)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:22: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld\n", &n);
^
user.cpp:11:21: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld ", &a);
^
user.cpp:16:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld ", &a);
^
user.cpp:28:28: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld", lungmax+1);
^
user.cpp:7:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("and.in","r",stdin);
^
user.cpp:8:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("and.out","w",stdout);
^
user.cpp:10:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld\n", &n);
^
user.cpp:11:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld ", &a);
^
user.cpp:16:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld ", &a);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | Incorect | 0 |
2 | 0ms | 256kb | Incorect | 0 |
3 | 0ms | 260kb | Incorect | 0 |
4 | 0ms | 264kb | Incorect | 0 |
5 | Depăşit | 264kb | Time limit exceeded. | 0 |
6 | Depăşit | 264kb | Time limit exceeded. | 0 |
7 | Depăşit | 264kb | Time limit exceeded. | 0 |
8 | Depăşit | 260kb | Time limit exceeded. | 0 |
9 | Depăşit | 264kb | Time limit exceeded. | 0 |
10 | Depăşit | 264kb | Time limit exceeded. | 0 |
Punctaj total | 0 |