Pagini recente » Borderou de evaluare (job #1371076) | Borderou de evaluare (job #2667510) | Borderou de evaluare (job #1331784) | Borderou de evaluare (job #1860890) | Borderou de evaluare (job #2746023)
Borderou de evaluare (job #2746023)
Raport evaluator
Compilare:
main.cpp: In function 'int solve()':
main.cpp:9:18: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[100000]' [-Wformat=]
fscanf(f,"%s",&s);
^
main.cpp:7:7: warning: unused variable 'c' [-Wunused-variable]
char c,s[100000];
^
main.cpp:8:21: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%ld ",&n);
^
main.cpp:9:19: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%s",&s);
^
main.cpp: In function 'int main()':
main.cpp:39:19: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 2ms | 131kb | OK | 10 |
5 | 2ms | 131kb | OK | 10 |
6 | 6ms | 262kb | OK | 10 |
7 | 7ms | 262kb | OK | 10 |
8 | 7ms | 262kb | OK | 10 |
9 | 7ms | 262kb | OK | 10 |
10 | 8ms | 262kb | OK | 10 |
Punctaj total | 100 |