Pagini recente » Cod sursa (job #2179471) | Borderou de evaluare (job #1763622) | Borderou de evaluare (job #656543) | Borderou de evaluare (job #3274703) | Borderou de evaluare (job #1433896)
Borderou de evaluare (job #1433896)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[20]’ [-Wformat=]
scanf("%s",&s);
^
user.cpp:18:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld",&p);
^
user.cpp:12:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ratphu.in","r",stdin);
^
user.cpp:13:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ratphu.out","w",stdout);
^
user.cpp:15:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&s);
^
user.cpp:18:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 10 |
2 | 0ms | 268kb | OK | 10 |
3 | 0ms | 300kb | OK | 10 |
4 | 0ms | 424kb | OK | 10 |
5 | 16ms | 904kb | OK | 10 |
6 | 104ms | 2820kb | OK | 10 |
7 | 252ms | 5380kb | OK | 10 |
8 | 548ms | 10496kb | OK | 10 |
9 | Depăşit | 20720kb | Time limit exceeded. | 0 |
10 | Depăşit | 20720kb | Time limit exceeded. | 0 |
Punctaj total | 80 |