Pagini recente » Borderou de evaluare (job #3123330) | Borderou de evaluare (job #834888) | Borderou de evaluare (job #2935500) | Borderou de evaluare (job #1045257) | Borderou de evaluare (job #1262557)
Borderou de evaluare (job #1262557)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:19: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[100001]’ [-Wformat=]
fscanf(f,"%s",&s);
^
user.cpp:18:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j = 0; j < strlen(s);j++) {
^
user.cpp:11:19: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&n);
^
user.cpp:15:20: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%s",&s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | Incorect | 0 |
2 | 0ms | 260kb | Incorect | 0 |
3 | 4ms | 308kb | Incorect | 0 |
4 | 4ms | 312kb | Incorect | 0 |
5 | 8ms | 328kb | Incorect | 0 |
6 | 8ms | 336kb | Incorect | 0 |
7 | 8ms | 344kb | Incorect | 0 |
8 | 12ms | 344kb | Incorect | 0 |
9 | 12ms | 352kb | Incorect | 0 |
10 | 12ms | 352kb | Incorect | 0 |
Punctaj total | 0 |