Pagini recente » Borderou de evaluare (job #2113346) | Borderou de evaluare (job #1564459) | Borderou de evaluare (job #1298429) | Borderou de evaluare (job #2920059) | Borderou de evaluare (job #1721949)
Borderou de evaluare (job #1721949)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tsah.in","r",stdin);
^
user.cpp:13:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tsah.out","w",stdout);
^
user.cpp:18:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&T);
^
user.cpp:22:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:23:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&go);
^
user.cpp:27:36: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets( s, NMax, stdin );
^
user.cpp:40:27: warning: array subscript is above array bounds [-Warray-bounds]
best[2][j] = MIN(k,best[1][j+1]+1);
^
user.cpp:42:28: warning: array subscript is above array bounds [-Warray-bounds]
else best[2][j] = 0;
^
user.cpp:44:27: warning: array subscript is above array bounds [-Warray-bounds]
if( best[2][j] > maxim ) { maxim = best[2][j]; nr = 1; }
^
user.cpp:49:36: warning: array subscript is above array bounds [-Warray-bounds]
best[1][k] = best[2][k];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | Depăşit | 772kb | Time limit exceeded. | 0 | 0 |
2 | Depăşit | 752kb | Time limit exceeded. | 0 |
Punctaj total | 0 |