Pagini recente » Borderou de evaluare (job #3327315) | Borderou de evaluare (job #3342080) | Borderou de evaluare (job #3304343) | Borderou de evaluare (job #3326918) | Borderou de evaluare (job #1910700)
Borderou de evaluare (job #1910700)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:66:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&k);
^
user.cpp:96:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",nr);
^
user.cpp:98:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",ras[i]);
^
user.cpp:54:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("partialmatch.in","r",stdin);
^
user.cpp:55:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("partialmatch.out","w",stdout);
^
user.cpp:56:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a+1);
^
user.cpp:57:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(b+1);
^
user.cpp:66:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&k);
^
/tmp/cc6aT2Rf.o: In function `main':
user.cpp:(.text.startup+0x58): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 72ms | 652kb | OK | 10 | 0 |
| 2 | 104ms | 656kb | OK | 10 |
| 3 | 580ms | 2068kb | OK | 10 |
| 4 | 580ms | 2064kb | OK | 10 |
| 5 | 1080ms | 2484kb | OK | 10 |
| 6 | 1056ms | 2476kb | OK | 10 |
| 7 | 1340ms | 2572kb | OK | 10 |
| 8 | 1376ms | 2492kb | OK | 10 |
| 9 | Depăşit | 4548kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 4500kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |