Pagini recente » Borderou de evaluare (job #1338065) | Borderou de evaluare (job #44316) | Borderou de evaluare (job #1238415) | Borderou de evaluare (job #2480626) | Borderou de evaluare (job #2219737)
Borderou de evaluare (job #2219737)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:42:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if(frumc==k) nrsol++; nrsol%=mod;
^~
user.cpp:42:31: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
if(frumc==k) nrsol++; nrsol%=mod;
^~~~~
user.cpp:43:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(f2,"%d\n", nrsol);
^
user.cpp:26:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1, "%d", &t);
^
user.cpp:29:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1, "%d", &k);
^
user.cpp:30:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1, " %s", sir);
^
user.cpp:42:9: warning: ‘frumc’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(frumc==k) nrsol++; nrsol%=mod;
^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 11972kb | Time limit exceeded. | 0 |
Punctaj total | 0 |